﻿<%@ Page Title="岗位管理列表-首家汽车行业人才测评系统" Language="C#" MasterPageFile="~/System/SiteSystem.Master"
    AutoEventWireup="true" CodeBehind="PositionList.aspx.cs" Inherits="EvaluationSystem.PositionList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center" class="maintable">
        <tr>
            <td>
                <asp:GridView ID="grVPositionManage" runat="server" AutoGenerateColumns="False" CellPadding="4"
                    DataKeyNames="position_id" ForeColor="#333333" GridLines="None" Width="100%"
                    OnRowCommand="GridView1_RowCommand" HorizontalAlign="Center">
                    <FooterStyle BackColor="#63C1CD" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:TemplateField HeaderText="选择" HeaderStyle-VerticalAlign="Middle">
                            <ItemTemplate>
                                <asp:CheckBox ID="CB_Select" runat="server" AutoPostBack="false" />
                            </ItemTemplate>
                            <HeaderStyle VerticalAlign="Middle"></HeaderStyle>
                            <ItemStyle Width="10%" />
                        </asp:TemplateField>
                        <asp:BoundField DataField="position_id" HeaderStyle-VerticalAlign="Middle" HeaderText="岗位ID"
                            ReadOnly="True" SortExpression="position_id" Visible="false">
                            <HeaderStyle VerticalAlign="Middle"></HeaderStyle>
                        </asp:BoundField>
                        <asp:BoundField DataField="position_name" HeaderText="岗位名称" ReadOnly="True" SortExpression="position_name"
                            Visible="true" />
                        <asp:BoundField DataField="position_description" HeaderText="岗位描述" ReadOnly="True"
                            SortExpression="position_name" Visible="false" />
                        <asp:ButtonField ButtonType="Button" HeaderText="指定默认维度" CommandName="DimSetting"
                            Text="修改" ControlStyle-CssClass="bluebtn" />
                        <asp:ButtonField ButtonType="Button" HeaderText="答题信息导出" CommandName="Export" Text="答题信息导出" />
                        <asp:ButtonField ButtonType="Button" HeaderText="数据导出" CommandName="ExportNewData"
                            Text="数据导出" />
                    </Columns>
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" VerticalAlign="Middle" />
                    <EmptyDataTemplate>
                        您好，没有查询到测评岗位信息!
                    </EmptyDataTemplate>
                    <EditRowStyle BackColor="#999999" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#63C1CD" Font-Bold="True" ForeColor="White" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <asp:CheckBox ID="CB_SelectAll" runat="server" AutoPostBack="true" Text="全选" OnCheckedChanged="CB_SelectAll_CheckedChanged" />&nbsp;
                <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click" class="bluebtn" />
                <asp:Button ID="btnAdd" runat="server" Text="新增岗位" class="bluebtn" OnClick="btnAdd_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
